package com.zlzxm.studentscreen.ui.activity.manager;

import android.content.Context;
import android.content.Intent;

import com.zlzxm.studentscreen.ui.activity.AcConfig;
import com.zlzxm.studentscreen.ui.activity.AcHome;
import com.zlzxm.studentscreen.ui.activity.AcPlayer;

import java.security.PublicKey;


/**
 * CREATE BY zlzxm ON 2022/3/7
 */
public class ActivityStarter {


    public static void startAcConfig(Context context){

        Intent intent = new Intent(context, AcConfig.class);

        context.startActivity(intent);

    }

    public static void startAcHome(Context context){

        Intent intent = new Intent(context, AcHome.class);

        context.startActivity(intent);

    }

    public static void startAcPlayer(Context context,String url){

        Intent intent = new Intent(context, AcPlayer.class);
        intent.putExtra(AcPlayer.KEY,url);
        context.startActivity(intent);

    }


}
